import numpy as np

lst_nums = [2,5,7,11,13,17,23,31,37,41,43,47]
print("#平均值计算")
print(np.mean(lst_nums))

print("#形状为（2,3,4）维的张量")
print(np.zeros([2,3,4]))

print("#递增序列,开始值-7.1,结束值7,步长0.5")
print(np.arange(-7.1,7,0.5))
print(np.arange(3.0))

print("#生成均匀分布 开始10,结束1000,数量10个")
print(np.linspace(10,1000,10))